package com.sddfp.trade.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sddfp.common.pojo.BorrowRecordDTO;
import com.sddfp.common.pojo.BorrowRecordQuery;
import com.sddfp.common.pojo.BorrowRecordVo;
import com.sddfp.common.pojo.Pages;
import com.sddfp.trade.entity.BorrowRecord;


/**
 * @author yellow Docter
 * @date 2023 -07-31
 * @desc
 */
public interface IBorrowRecordService extends IService<BorrowRecord> {

    void addBorrowRecord(BorrowRecordDTO borrowRecordDTO);

    String verifyStatus(Integer approveStatus, Long borrowRecordId);

    Pages<BorrowRecordVo> queryBorrowRecord(Integer pageNum, Integer pageSize, BorrowRecordQuery borrowRecordQuery);
}
